SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 43754: MySQL column lengths might be incorrect in your SAS session when you use SAS/ACCESS® 9.2 Interface to MySQL to access MySQL data

DetailsHotfixAboutRate It

When you access MySQL data with SAS/ACCESS 9.2 Interface to MySQL, column lengths might be different in SAS than what they are in the MySQL database. When this situation occurs, the following error is generated:

ERROR: Execute error: Data too long for column 'variableName' at row 1

This situation occurs when your SAS® 9.2 session uses the Unicode UTF-8 encoding.

Click the Hot Fix tab in this note to access the hot fix for this issue.

After you install the hot fix, you need to use the LIBNAME option USE_CHAR_COUNT=YES.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to MySQLMicrosoft® Windows® for x649.2 TS1M09.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.3 TS1M1
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.3 TS1M1
Microsoft Windows XP Professional9.2 TS1M09.3 TS1M1
Windows Vista9.2 TS1M09.3 TS1M1
Windows Vista for x649.2 TS1M09.3 TS1M1
64-bit Enabled AIX9.2 TS1M09.3 TS1M1
64-bit Enabled HP-UX9.2 TS1M09.3 TS1M1
64-bit Enabled Solaris9.2 TS1M09.3 TS1M1
HP-UX IPF9.2 TS1M09.3 TS1M1
Linux9.2 TS1M09.3 TS1M1
Linux for x649.2 TS1M09.3 TS1M1
Solaris for x649.2 TS1M09.3 TS1M1
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.